﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="exsql.aspx.cs" Inherits="Forum.Web.Admin.db.exsql" %>

<%@ Register assembly="Public.Control" namespace="Public.Control" tagprefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
<link href="../styles/control.css" type="text/css" rel="stylesheet" />
    <link href="../styles/dntmanager.css" rel="stylesheet" type="text/css" />
    <style type="text/css">

#td_l {
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: dashed;
	border-left-style: dashed;
	border-right-color: #CCCCCC;
	border-left-color: #CCCCCC;
}
.STYLE1 {color: #FF0000}

    </style>
</head>
<body  class="ContentBody">
<div class="ManagerForm">
        <form id="Form1" runat="server">
        <fieldset>
            <legend style="background: url(../images/icons/icon29.jpg) no-repeat 6px 50%;">即时SQL</legend>
            <table cellspacing="0" cellpadding="4" width="100%" align="center">
                <tr>
                    <td class="panelbox" align="left" width="50%">
                        <table width="100%">
                            <tr>
                                <td style="width: 80px">
                                    系统提示:
                                </td>
                                <td>&nbsp;
                                    </td>
                            </tr>
                            <tr>
                                <td>
                                    SQL:
                                </td>
                                <td valign="top">
                                    <cc1:TextBox ID="txt_sql" runat="server" Width="650px" Height="150px" 
                                        TextMode="MultiLine"></cc1:TextBox>
                                    <asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    查询语句：</td>
                                <td>
                                    <asp:CheckBox ID="IsSelect" runat="server" Text="查询语句启用该项后可以显示查询结果" />
                                </td>
                            </tr>
                            </table>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <cc1:Button ID="Button3" runat="server" onclick="Button3_Click"  ButtonImgUrl="../images/submit.gif" />
                    </td>
                </tr>
<tr>
                    <td align="left" style="padding:5px;">
<asp:GridView ID="GridView1" runat="server" CellPadding="4" EnableModelValidation="True" 
                            ForeColor="#333333">
    <AlternatingRowStyle BackColor="Silver" ForeColor="#284775" />
    <EditRowStyle BackColor="#999999" />
    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
    <HeaderStyle BackColor="#5D7B9D" BorderStyle="None" Font-Bold="True" 
        ForeColor="White" />
    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
    <RowStyle BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px" 
        ForeColor="#333333" />
    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        </asp:GridView>
              </td>
                </tr>
            </table>
        </fieldset>
        </form>
    </div>
</body>
</html>